<!DOCTYPE html>
<html ng-app="WeatherApp">
  <head>
    <meta charset="utf-8">
    <script src="lib/ionic/js/angular/angular.js"></script>
<script src="lib/ionic/js/angular/angular-resource.js"></script>
   <script src="js/script-weather.js"></script>
     <script src="js/services.js"></script>
     <title>天气预报</title>
  </head>
  <body>
	<div ng-controller="MyCtrl">
		<h1>未来{{temps.data.forecast.length}}天{{cityName}}的天气情况</h1>
		<h3>07130736王耀文</h3>
		<div ng-repeat='forecast in temps.data.forecast'>
			{{forecast.date}}
			{{forecast.high}}
			{{forecast.low}}
			{{forecast.type}}
			{{forecast.fengxiang}}
			{{forecast.fengli}}</br>
		</div>
		<input ng-model='cityName'/>
		<button ng-click="changeCity()">更换城市</button>
	</div>
  </body>
</html>